﻿using Model;
using Model.Battle;
using SanZhan.Models.User;

namespace ConsoleApp1
{
    internal class Program
    {
        static void Main(string[] args)
        {

            Test();
        }
        private static void Test()
        {
            UserTeam team1 = TestData.GetTeam1();
            UserTeam team2 = TestData.GetTeam3();

            BattleInfo battleInfo = new BattleInfo(team1, team2, new Place(1, 1));

            Battle battle = new Battle(battleInfo);
            battle.Fight();

            foreach (var item in battle.info.logs)
            {
                Console.WriteLine(item);
            }
        }
    }
}
